package com.xrj4j.service;

import com.xrj4j.common.ResponseResult;
import com.xrj4j.entity.PhotoAlbum;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 相册 服务类
 */
public interface PhotoAlbumService extends IService<PhotoAlbum> {

    ResponseResult listAlbum(String name);

    ResponseResult getAlbumById(Integer id);

    ResponseResult insertAlbum(PhotoAlbum photoAlbum);

    ResponseResult updateAlbum(PhotoAlbum photoAlbum);

    ResponseResult deleteAlbumById(Integer id);


    //web端方法开始

    /**
     * 获取所有相册
     */
    ResponseResult webAlbumList();

}
